using System.Web.Mvc;
using AllAgreed.Controllers;
using AllAgreed.DataLayer.Models;


namespace AllAgreed.Models.Users
{
    public interface IUserRepository
    {
        User Save(UserDto user);
        User GetUserByLogin(string login);
        bool ExistUserByLogin(string login);
        User[] GetAllUsers();
        User GetUserById(int id);
        User[] GetUsersByQuery(string query);
    }
}